package com.ruoyi.system.service;

import com.ruoyi.system.domain.ChatLog;
import com.ruoyi.system.domain.ChatMessages;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;


public interface iChatLogService {

    /**
     * 查询聊天列表
     *
     * @param chatLog 查询条件
     * @return 聊天列表
     */
    List<ChatLog> selectChatLogList(ChatLog chatLog);

    List<ChatLog> selectChatLog(String customerNumber,String clientNumber);


    /**
     *
     * @param chatLog
     * @return
     */
    List<ChatLog> selectChatByMaxTime(ChatLog chatLog);

    List<ChatMessages> getMessagesByFansId(String clientNumber);
}
